package be.kdg.bombermanunlimited.server.objects.abstracts;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

import be.kdg.bombermanunlimited.server.objects.interfaces.IGameObject;
import be.kdg.bombermanunlimited.server.objects.interfaces.ILocalTile;
import be.kdg.bombermanunlimited.server.remote.interfaces.ITile;

/**
 * abstract tile, bevat de gemeenschappelijke methods van de velden op de map
 * verder implementaties worden door extends gedaan.
 * @author pieter
 *
 */
public abstract class AbstractTile extends UnicastRemoteObject implements
		ITile, ILocalTile {

	protected AbstractTile() throws RemoteException {
		super();
	}

	private static final long serialVersionUID = 1L;

	public void addGameObject(IGameObject object) {
	}

	public boolean isWalkable() throws RemoteException {
		return isWalkableLocalCall();
	}
	
	@Override
	public int getOrientation() throws RemoteException {
		return 0;
	}

}
